Skip to content

NET_SDK_Edit802xCfg

Interface Definition

1
2
3
4
5
BOOL NET_SDK_Edit802xCfg(
    LONG lUserID,
    BOOL bSwitch,
    const char* username,
    const char* password);
1
2
3
4
5
public static extern Boolean NET_SDK_Edit802xCfg(
    Int32 lUserID,
    Boolean bSwitch,
    string username,
    string password);

Function Description

802.X configuration interface, set the 802.1X authentication parameters of the device.

Parameter Description

Parameters Type Remark
lUserIDin LONG User ID, return value of NET_SDK_Login.
bSwitchin BOOL 802.1X switch (TRUE: on, FALSE: off).
usernamein char* 802.1X authentication username.
passwordin char* 802.1X authentication password (clear text, internal MD5 encryption).

Return Value

  • Type:BOOL

  • Remark:Returns TRUE if successful, FALSE if failed.

Remarks

None

Error Code